#ifndef MYRAND_H_
#define MYRAND_H_
#include <ctime>
#include <cstdlib>

class MyRand {
private:
	static MyRand* p_rand;
	MyRand();
public:
	static MyRand* Instance();
	int Next() const;
	int Next(int min,int max) const;
};
#endif
